package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * <p>
 * 创建业务通知
 * @author guoliang.lao
 * @since 2022-04-29
 */

@Data
@ApiModel("创建编辑业务通知")
public class BusinessNoticeRequest {
    @ApiModelProperty("id 编辑时传入")
    private Integer id;

    @ApiModelProperty("参数")
    @NotEmpty(message = "参数不能空！")
    private String paramCode;

    @ApiModelProperty("参数值")
    private String paramValue;

    @ApiModelProperty("备注")
    private String remark;

    //推送客戶
    @ApiModelProperty(value = "客户联系人级别")
    private String pushLevel;

    //推送员工信息
    @ApiModelProperty(value = "推送员工手机号;分割")
    private String pushStaffs;

    //推送额外信息
    @ApiModelProperty(value = "推送额外手机号;分割")
    private String pushPhones;

    @ApiModelProperty(value = "讯飞appkey")
    private String appKey;

    @ApiModelProperty(value = "讯飞appsecret")
    private String appSecret;

    @ApiModelProperty(value = "讯飞话术id")
    private String robotId;

    @ApiModelProperty(value = "讯飞话术内容")
    private String robotContent;

    @ApiModelProperty(value = "讯飞线路号")
    private String lineNum;

    @ApiModelProperty(value = "设置范围 1-所有设备、2-设备类型、3-设备型号")
    private Integer setRange;

    @ApiModelProperty(value = "设置范围 1-报警记录未处理提醒 2-故障记录未处理提醒")
    private String setRadius;

    @ApiModelProperty(value = "设备周期数组")
    private List<EquipmentPeriodRequest> equipmentPeriod;

    @ApiModelProperty(value = "设备周期")
    private String period;

    @ApiModelProperty(value = "离线情况是否通知 true-1、false-0")
    private Boolean isNotice;


    //弹窗分钟
    @ApiModelProperty(value = "弹窗分钟")
    private Integer popMinutes;

    //弹窗秒
    @ApiModelProperty(value = "弹窗秒")
    private Integer popSeconds;
}
